package com.chinasoft.tw.service.zhangzhehang;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;


    public class Zhangzhehang implements TrueWord{
        String name;
        List<String> wordList = new ArrayList<>();
        Random random = new Random();

        public Zhangzhehang() {
            this.name = "李炫毅";
            wordList.add("基本信息：健身肌肉男");
            wordList.add("江山第一帅");

        }
        @Override
        public Info getTrueWord() {
            return new Info(name, wordList.get(random.nextInt(wordList.size())));
        }
        }



